﻿@model AddContactViewModel
@{
    ViewBag.Title = "Contact";
}
<h2>@ViewBag.Title.</h2>
<h3>@ViewBag.Message</h3>
<div class="row">
    <div class="col-lg-6">
        <form action="" class="form-horizontal" method="post">
            @Html.EditorFor(it => it.Username)
            @Html.EditorFor(it => it.QQ)
            @Html.EditorFor(it => it.Subject)
            @Html.EditorFor(it => it.Body)
            <div class="form-group">
                <div class="col-md-offset-2 col-md-10">
                    <button type="reset" class="btn btn-default btn-sm">Reset</button>  
                    <button type="submit" class="btn btn-primary btn-sm">submit</button>
                </div>
            </div>
        </form>
    </div>
    <div class="col-lg-6">
        <img src="http://placehold.it/480x320"/>
    </div>
</div>

@section scripts{
    @Scripts.Render("~/bundles/jqueryval")
    <script src="~/Scripts/jquery-validate.bootstrap-tooltip.min.js"></script>
}